package com.jxbeidou.login.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serializable;

/**
 * @program: jxbeidou-basic
 * @ClassName: LoginUserDTO
 * @description: 用户登录实体类
 * @author: 杜晓祥
 * @create: 2023-12-26 15:48
 * 版权所有：交信北斗(北京)信息科技有些公司
 */
@Data
@Schema(description = "登录参数")
public class LoginUserDTO implements Serializable {

    private static final long serialVersionUID = -918375612123644871L;
    
    @NotEmpty(message = "用户名不能为空")
    @Schema(description = "用户名")
    private String username;
    @NotEmpty(message = "密码不能为空")
    @Schema(description = "密码")
    private String password;
    @Schema(description = "验证码KEY")
    private String key;
    @Schema(description = "验证码值")
    private String code;
    
}
